import {require} from './request'
//请求title数据
export function getCategory() {
    return require({
        url:'category'
    })
}
//请求对应分类的数据
export function getSubcategory(maitKey){
    return require({
        url:'subcategory',
        params:{
            maitKey
        }
    })
}
export function getCategoryDetail(miniWallkey,type){
    return require({
        url:'subcategory/detail',
        params:{
            miniWallkey,
            type
        }
    })
}